Shape Fill
Each shape object has a shape fill property. The shape fill specifies how QuickDraw GX interprets the geometry of the shape: how the shape is drawn, how the shape is hit-tested, and how certain geometric operations, like the intersection operation, interpret the shape.Constants for all shape fills are defined in the
gxShapeFills
enumeration:
enum gxShapeFills { gxNoFill, /* shape not drawn */ gxOpenFrameFill, /* framed, one edge left open */ gxFrameFill = gxOpenFrameFill, gxClosedFrameFill, /* framed, closed completely */ gxHollowFill = gxClosedFrameFill, gxEvenOddFill, /* filled using even-odd rule */ gxSolidFill = gxEvenOddFill, gxWindingFill, /* filled using winding-number rule */ gxInverseEvenOddFill, /* filled inverse of even-odd rule */ gxInverseSolidFill = gxInverseEvenOddFill, gxInverseFill = gxInverseEvenOddFill, gxInverseWindingFill /* filled inverse of winding-number */ }; typedef long gxShapeFill;The individual shape fills are described further in Table 2-2 on page 2-13.